﻿using System;
using System.Collections.Generic;
using System.Text;
using BusinessObjectHelper;

namespace Dzzzr
{
	public class PersonInfo
	{
		private int id;
		private string name;
		private string description; 
		private int teamID; 
		private int entityTypeID;
		private string entityType;
		private int maxSendingPause;
		private string fullName;
		private DateTime? birthDate;
		private string teamPhone;
		private string otherPhones;
		private string icq;
		private string skype;
		private string otherIMs;
		private string radio;
		private string tracker;
		private string otherDevices;

		[DataMapping(-1)]
		public int ID
		{
			get { return id; }
			set { id = value; }
		}

		[DataMapping("")]
		public string Name
		{
			get { return name; }
			set { name = value; }
		}

		[DataMapping("")]
		public string Description
		{
			get { return description; }
			set { description = value; }
		}

		[DataMapping(-1)]
		public int TeamID
		{
			get { return teamID; }
			set { teamID = value; }
		}

		[DataMapping(-1)]
		public int EntityTypeID
		{
			get { return entityTypeID; }
			set { entityTypeID = value; }
		}

		[DataMapping("")]
		public string EntityType
		{
			get { return entityType; }
			set { entityType = value; }
		}

		[DataMapping(-1)]
		public int MaxSendingPause
		{
			get { return maxSendingPause; }
			set { maxSendingPause = value; }
		}

		[DataMapping("")]
		public string FullName
		{
			get { return fullName; }
			set { fullName = value; }
		}

		[DataMapping(null)]
		public DateTime? BirthDate
		{
			get { return birthDate; }
			set { birthDate = value; }
		}

		[DataMapping("")]
		public string TeamPhone
		{
			get { return teamPhone; }
			set { teamPhone = value; }
		}

		[DataMapping("")]
		public string OtherPhones
		{
			get { return otherPhones; }
			set { otherPhones = value; }
		}

		[DataMapping("")]
		public string ICQ
		{
			get { return icq; }
			set { icq = value; }
		}

		[DataMapping("")]
		public string Skype
		{
			get { return skype; }
			set { skype = value; }
		}

		[DataMapping("")]
		public string OtherIMs
		{
			get { return otherIMs; }
			set { otherIMs = value; }
		}

		[DataMapping("")]
		public string Radio
		{
			get { return radio; }
			set { radio = value; }
		}

		[DataMapping("")]
		public string Tracker
		{
			get { return tracker; }
			set { tracker = value; }
		}

		[DataMapping("")]
		public string OtherDevices
		{
			get { return otherDevices; }
			set { otherDevices = value; }
		}
	}
}
